FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER chenliang3733@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /bims

WORKDIR /bims

EXPOSE 8080

ADD ./target/bims-admin.jar ./

CMD sleep 15;java -Djava.security.egd=file:/dev/./urandom -jar bims-admin.jar
